package cn.whit.blog.domain;

import java.util.Date;

public class Tblog {
	
	
	private String id;
	
	private String title;
	
	private String content;
	
	private String picurls;
	
	private Date publishTime;

	private Date updateTime;
	
	private int status;
	
	private String memo;
	
	private String userid;
	
	private String username;
	
	private String tags;
	
	private int votes;
	
	private int commits;
	
	private int collects;
	
	private String tblogtypeid;
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPicurls() {
		return picurls;
	}

	public void setPicurls(String picurls) {
		this.picurls = picurls;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public int getVotes() {
		return votes;
	}

	public void setVotes(int votes) {
		this.votes = votes;
	}

	public int getCommits() {
		return commits;
	}

	public void setCommits(int commits) {
		this.commits = commits;
	}

	public int getCollects() {
		return collects;
	}

	public void setCollects(int collects) {
		this.collects = collects;
	}

	public Tblog(String id, String title, String content, String picurls, Date publishTime, Date updateTime, int status,
			String memo, String userid, String tags, int votes, int commits, int collects) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.picurls = picurls;
		this.publishTime = publishTime;
		this.updateTime = updateTime;
		this.status = status;
		this.memo = memo;
		this.userid = userid;
		this.tags = tags;
		this.votes = votes;
		this.commits = commits;
		this.collects = collects;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getTblogtypeid() {
		return tblogtypeid;
	}

	public void setTblogtypeid(String tblogtypeid) {
		this.tblogtypeid = tblogtypeid;
	}

	public Tblog() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "Tblog [id=" + id + ", title=" + title + ", content=" + content + ", picurls=" + picurls
				+ ", publishTime=" + publishTime + ", updateTime=" + updateTime + ", status=" + status + ", memo="
				+ memo + ", userid=" + userid + ", tags=" + tags + ", votes=" + votes + ", commits=" + commits
				+ ", collects=" + collects + "]";
	}
	
	
}
